From: Aaron Schulz Date: Sat, 2 Dec 2017 20:38:37 +0000 (-0800) Subject: Add some @noinspection flags to doPostOutputShutdown() X-Git-Tag: 1.31.0-rc.0~1002^2 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=c2d3e79e35a6385008537195468beb52aec2352b;p=lhc%2Fweb%2Fwiklou.git Add some @noinspection flags to doPostOutputShutdown() This are in "use" clause of $callback, by reference Change-Id: Iadb1d25263dbafe2bd12223db62e1c93e2188bde --- diff --git a/includes/MediaWiki.php b/includes/MediaWiki.php index 9e3bc10467..2aeefc6195 100644 --- a/includes/MediaWiki.php +++ b/includes/MediaWiki.php @@ -726,10 +726,12 @@ class MediaWiki { if ( function_exists( 'register_postsend_function' ) ) { // https://github.com/facebook/hhvm/issues/1230 register_postsend_function( $callback ); + /** @noinspection PhpUnusedLocalVariableInspection */ $blocksHttpClient = false; } else { if ( function_exists( 'fastcgi_finish_request' ) ) { fastcgi_finish_request(); + /** @noinspection PhpUnusedLocalVariableInspection */ $blocksHttpClient = false; } else { // Either all DB and deferred updates should happen or none.